<?php

namespace App\Http\Controllers;

use App\Services\SendMobileMsgServices;

class TestController extends Controller
{
    /**
     * Create a new controller instance.
     *
     * @return void
     */
    public function __construct()
    {

    }

    /**
     * Show the application dashboard.
     *
     * @return \Illuminate\Http\Response
     */
    public function test()
    {

        $sms = new SendMobileMsgServices;
        $sms->setFmt('json');

        // print_r( $sms->send('15332333132', 'Pbus', 'ygc_01') );
       // print_r( $sms->send('15332333132', sprintf('%s,%s,%s', date('Y-m-d'), '1234.56', '7890') ,'ygc_02') );
        print_r( $sms->send('15991382260', '西安机场员工停车服务','ygc_03') );
       // print_r( $sms->send('15332333132', '8888,5','ygc_04') );
    }
}

